/**
 * ----------------------------------------------------------------------------
 * Copyright Jens Konopka
 * 
 * Alle Rechte vorbehalten.
 * Licence: Apache 2.0
 * ----------------------------------------------------------------------------
 *
 * created on 06.03.2012 by jk
 */
package de.sql.toolkit.model;

import java.io.Serializable;

/**
 * @author jk
 * 
 */
public class Schema implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1700937352306518403L;
	private String catalog;
	private String name;
	private String owner;
	private String defaultCharacterSetCatalog;
	private String defaultCharacterSetSchema;
	private String defaultCharacterSetName;

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		final StringBuilder builder = new StringBuilder();
		builder.append("Schema [catalog=");
		builder.append(catalog);
		builder.append(", name=");
		builder.append(name);
		builder.append(", owner=");
		builder.append(owner);
		builder.append(", defaultCharacterSetCatalog=");
		builder.append(defaultCharacterSetCatalog);
		builder.append(", defaultCharacterSetSchema=");
		builder.append(defaultCharacterSetSchema);
		builder.append(", defaultCharacterSetName=");
		builder.append(defaultCharacterSetName);
		builder.append("]");
		return builder.toString();
	}

	/**
	 * @return the catalog
	 */
	public String getCatalog() {
		return catalog;
	}

	/**
	 * @param catalog the catalog to set
	 */
	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the owner
	 */
	public String getOwner() {
		return owner;
	}

	/**
	 * @param owner the owner to set
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}

	/**
	 * @return the defaultCharacterSetCatalog
	 */
	public String getDefaultCharacterSetCatalog() {
		return defaultCharacterSetCatalog;
	}

	/**
	 * @param defaultCharacterSetCatalog the defaultCharacterSetCatalog to set
	 */
	public void setDefaultCharacterSetCatalog(String defaultCharacterSetCatalog) {
		this.defaultCharacterSetCatalog = defaultCharacterSetCatalog;
	}

	/**
	 * @return the defaultCharacterSetSchema
	 */
	public String getDefaultCharacterSetSchema() {
		return defaultCharacterSetSchema;
	}

	/**
	 * @param defaultCharacterSetSchema the defaultCharacterSetSchema to set
	 */
	public void setDefaultCharacterSetSchema(String defaultCharacterSetSchema) {
		this.defaultCharacterSetSchema = defaultCharacterSetSchema;
	}

	/**
	 * @return the defaultCharacterSetName
	 */
	public String getDefaultCharacterSetName() {
		return defaultCharacterSetName;
	}

	/**
	 * @param defaultCharacterSetName the defaultCharacterSetName to set
	 */
	public void setDefaultCharacterSetName(String defaultCharacterSetName) {
		this.defaultCharacterSetName = defaultCharacterSetName;
	}

}
